//
//  IFIndexCell.m
//  chanlin
//
//  Created by Ryan on 14-11-9.
//  Copyright (c) 2014年 chanlin. All rights reserved.
//

#import "IFIndexCell.h"

@implementation IFIndexCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self=[super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if(self){
        self.selectionStyle=UITableViewCellSelectionStyleNone;
        [self uiInit];
    }
    return self;
}

- (void)setPlayVideo:(BOOL)isPlay{
    
}

- (void)uiInit{
    //self.contentView.clipsToBounds=YES;
    self.baseView=[[UIView alloc] init];
    self.baseView.frame=self.contentView.bounds;
    self.baseView.clipsToBounds=YES;
    self.baseView.autoresizingMask=UIViewAutoresizingFlexibleWidth|UIViewAutoresizingFlexibleHeight;
    [self.contentView addSubview:self.baseView];
}

- (void)loadData:(CLList *)newsList{
   // self.textLabel.text=newsList.title;

}

- (void)loadTopicData:(CLTopic *)newsList{
    // self.textLabel.text=newsList.title;
    
}

- (void)loadCollect:(CLCollect *)collect{
    
}

- (void)setIsRead:(BOOL)isRead{
    
}

- (void)setRedRange:(NSRange )range{
    [self.titleLabel setTextColor:[UIColor redColor] range:range];
    
}

@end
